﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using trunk.Models;
using trunk.Views;

namespace trunk.ViewModels
{
    public class MainPageViewModel : NotificationObject
    {
        public MainPageViewModel()
        {
            ListData = new ObservableCollection<MainPageListItemData>
            {
                new MainPageListItemData("WPF 控件",MainPage.WpfControlCommand),
                new MainPageListItemData("尺寸缩放、定位与变换元素",MainPage.SizePosTransCommand),
                new MainPageListItemData("面板做布局",MainPage.PanelLayoutCommand),
                new MainPageListItemData("Tcp连接",MainPage.TcpPageCommand),
            };
        }

        public ObservableCollection<MainPageListItemData> ListData { get; set; }
    }
}
